.nav {
    position: absolute;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.2);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#33FFFFFF,endColorstr=#33FFFFFF);
}
#menu {
    display: inline-block;
}

#menu li {
    /* used the child selector here to properly target your first level menu items */
    position: relative;
    float: left;
}

#menu li li {
    width: 100%;
}

#menu ul {
    display: none;
    position: absolute;
    /* moved the positioning to the main declaration instead */
    z-index: 1000;
    left: 100%;
    top: 0;
    background: white;
    width: 100%;
    border: 1px solid #ddd;
}
#menu ul li {
    border-top: 1px solid #ddd;
}

#menu>li>ul {
    left: 0;
    top: 100%;
}

#menu a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 26px;
    font-weight: bold;
    padding: 15px 30px;
    border-width: 1px;
}

#menu ul a {
    color: #333;
    font-weight: normal;
    font-size: 20px;
    padding: 10px 0;
}

#menu li:hover>ul {
    display: block;
}

#menu li:hover a {
    background: white;
    color: #333;
}

#menu li:hover li a:hover {
    background: #004EA8;
    color: white;
}
